<!DOCTYPE html>
<% layout('/layouts/default.html',{title:'员工安监'}){%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="format-detection" content="telephone=yes">
    <meta name="viewport" content="width=device-width, initial-scale=1  maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link rel="stylesheet" type="text/css" href="${ctxStatic}/ajz/css/iconfont.css">
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/css/menu.css"/>
    <link type="text/css" rel="stylesheet" href="${ctxStatic}/ajz/css/sf.css"/>
    <script type="text/javascript" src="${ctxStatic}/ajz/js/jquery.min.js"></script>
    <script type="text/javascript" src="${ctxStatic}/ajz/js/menu.js"></script>
</head>
<body>
<form action="addQYInfo" method="post" name="addQYInfo" id="addQYInfo">
    <input type="hidden" name="userId" id="userId" value="${userId}"/>

    <ul id="hear">
        <div class="head_a_box">
            <a href="" >我的安监</a>
            <a href="" >检查记录</a>
            <a href="" class="action2" >单位添加</a>
        </div>
    </ul>

    <!--<input type="hidden" name="danUrls" id="danUrls">-->
    <!--<h5 id="imgh5_1">营业执照识别-->
        <!--<a class="iconfont icon-angle-up table_photo_min_add_1 " id="tp_2"></a>-->
        <!--<a class="iconfont icon-xiafan table_photo_min_add_1 " id="tp_3"></a>-->
    <!--</h5>-->
    <!--<ul class="table_photo_min" id="updateimg">-->
        <!--<ol>-->
            <!--<div style="">-->
                <!--<div id="upBox">-->
                    <!--<div id="inputBox">-->
                        <!--<input type="button" name="chooseImage1" title="请选择图片" id="chooseImage1">上传-->
                    <!--</div>-->
                    <!--<div id="imgBox">-->
                    <!--</div>-->
                    <!--<span class="imgspan">注：请上传清晰图片</span>-->
                <!--</div>-->
            <!--</div>-->
        <!--</ol>-->
    <!--</ul>-->
    <!--<ul class="table_photo" id="updateimg2">-->
        <!--<div class="imgbox" id="chooseImage"><img id="table" src=""></div>-->
        <!--<li>-->
            <!--<b>-->
                <!--<a class="iconfont icon-camera_fill"></a>-->
            <!--</b>-->
        <!--</li>-->
    <!--</ul>-->
    <!--<br><br>-->
    <!--<div class="hi_degbtnbar_iup bgcolor" style="text-align:center;">-->
        <!--<button type="button" onclick="getPicMsg();" class="table_btn xgbtn_1">开始识别</button>-->
    <!--</div>-->

    <ul class="table_information_ipt" style="margin-top:10%;">
        <h5>基本信息添加</h5>
        <li>
            <i>所在片区：</i>
            <b>
                <select name="officeCode">
                    <option value="25">寨后社区</option>
                </select>
            </b>
        </li>
        <li><i>企业名称：</i><b><input type="text" id="enterpriseName" name="enterpriseName" class="tiiont_1"
                                  placeholder="请输入营业执照名"></b>
        </li>
        <li><i>法代人：</i><b><input type="text" name="legalPerson" id="chargePerson" class="tiiont_1"
                                 placeholder="请输入法定代表人姓名"></b></li>
        <li><i>法人电话：</i><b><input type="text" name="legalPersonTel" class="tiiont_1" placeholder="请输入法人电话"></b>
        </li>
        <li><i>联系人：</i><b> <input type="text" name="contactPerson" id="managerPerson" class="tiiont_1" placeholder="请输入联系人姓名"></b>
        </li>
        <li><i>联系电话：</i><b><input type="text" name="contactPersonTel" class="tiiont_1" placeholder="请输入联系电话"></b>
        </li>
        <li><i>职务：</i><b><input type="text" name="post" class="tiiont_1" placeholder="请输入联系人职务"></b>
        </li>
        <li><i>公司地址：</i><b><input type="text" name="addr" id="addr" class="tiiont_1" placeholder="请输入单位所在地址"></b></li>
        <li><i>经营范围：</i><b><input type="text" name="buinessContent" class="tiiont_1" placeholder="请输入经营范围"></b>
        </li>
        <li><i>企业类型：</i><b><input type="text" name="enterpriseType" class="tiiont_1" placeholder="请输入企业类型"></b>
        </li>
        <li><i>楼层高度：</i><b><input type="text" name="floorCount" class="tiiont_1" placeholder="请输入楼层高度"></b>
        </li>
        <li><i>企业人数：</i><b><input type="text" name="empCount" class="tiiont_1" placeholder="请输入企业人数"></b>
        </li>
        <li><i>生产描述：</i><b><input type="text" name="remarks" class="tiiont_1" placeholder="请输入企业生产描述"></b>
        </li>
        <li><i>年产值(万)：</i><b><input type="text" name="yearValue" class="tiiont_1" placeholder="请输入企业年产值"></b>
        </li>
        <li><i>企业规模：</i>
            <b>
                <select name="scale">
                    <option value="规下">规下</option>
                    <option value="规上">规上</option>
                </select>
            </b>
        </li>
        <li><i>风险等级：</i>
            <b>
                <select name="dangerLev">
                    <option value="三等风险">三等风险</option>
                    <option value="二等风险">二等风险</option>
                    <option value="一等风险">一等风险</option>
                </select>
            </b>
        </li>
    </ul>

    <div class="hi_degbtnbar_iup_paicha1">
        <div class="hi_degbtnbar_iup">
            <button type="button" onclick="btnSub()" class="table_btn xgbtn_1">提交</button>
        </div>
        <div class="hidden_sub_box1">
            <div class="hidden_sub_box1_textbox">
                <span>正在提交中,请稍等....</span><img src="${ctxStatic}/ajz/img/loding.jpg">
            </div>
        </div>
    </div>
</form>

<div class="copy_sd">Copyright © 2018 时代银软</div>

</body>
<script>
    function btnSub() {
        if ($("input[name='enterpriseName']").val() == '') {
            alert('请填写营业执照名');
        } else if ($("input[name='legalPerson']").val() == '') {
            alert('请填写法定代表人');
        } else if ($("input[name='contactPerson']").val() == '') {
            alert('请填写联系人');
        } else if ($("input[name='contactPersonTel']").val() == '') {
            alert('请填写联系方式');
        } else if ($("input[name='addr']").val() == '') {
            alert('请填写地址');
        } else {
            $(".hidden_sub_box1").css("display", "block");
            $("html").css("overflow", "hidden");
            $("body").css("overflow", "hidden");
            $("#addQYInfo").submit();
        }
    }
</script>
</html>
<% } %>